#pragma once
#include <stdint.h>
int open_port(const char *port);
int read_port(int fd, uint8_t *buf, int length);